import Vue from "vue"
import Vuex from "vuex"
import tab from "../store/tab"
import user from "../store/user"
import createPersistedState from "vuex-persistedstate"

Vue.use(Vuex)

export default new Vuex.Store({
    modules:{
        tab,
        user
    },
    plugins:[createPersistedState()]
})